-
Notifications
You must be signed in to change notification settings - Fork 532
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace cpdef variables with cdef variables. #5145
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot!
Once CI passes I’ll need someone else to merge this. Feel free to move this to 23.04 if desired. |
Codecov ReportBase: 67.12% // Head: 67.21% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## branch-23.02 #5145 +/- ##
================================================
+ Coverage 67.12% 67.21% +0.08%
================================================
Files 192 192
Lines 12396 12370 -26
================================================
- Hits 8321 8314 -7
+ Misses 4075 4056 -19
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
/merge |
This PR fixes some warnings in the cuml Python build that will become errors in Cython 3. Examples follow: ``` cuml/python/cuml/decomposition/pca.pyx:334:14: cpdef variables will not be supported in Cython 3; currently they are no different from cdef variables cuml/python/cuml/decomposition/pca.pyx:587:14: cpdef variables will not be supported in Cython 3; currently they are no different from cdef variables cuml/python/cuml/decomposition/pca.pyx:683:14: cpdef variables will not be supported in Cython 3; currently they are no different from cdef variables cuml/python/cuml/decomposition/tsvd.pyx:282:14: cpdef variables will not be supported in Cython 3; currently they are no different from cdef variables cuml/python/cuml/decomposition/tsvd.pyx:398:14: cpdef variables will not be supported in Cython 3; currently they are no different from cdef variables cuml/python/cuml/decomposition/tsvd.pyx:450:14: cpdef variables will not be supported in Cython 3; currently they are no different from cdef variables cuml/python/cuml/decomposition/pca_mg.pyx:94:14: cpdef variables will not be supported in Cython 3; currently they are no different from cdef variables cuml/python/cuml/decomposition/tsvd_mg.pyx:77:14: cpdef variables will not be supported in Cython 3; currently they are no different from cdef variables cuml/python/cuml/fil/fil.pyx:82:10: cpdef variables will not be supported in Cython 3; currently they are no different from cdef variables cuml/python/cuml/fil/fil.pyx:83:10: cpdef variables will not be supported in Cython 3; currently they are no different from cdef variables ``` Authors: - Bradley Dice (https://github.com/bdice) Approvers: - William Hicks (https://github.com/wphicks) - Carl Simon Adorf (https://github.com/csadorf) URL: rapidsai#5145
This PR fixes some warnings in the cuml Python build that will become errors in Cython 3. Examples follow: